*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container input[type="text"]{
    width: 100%;
    flex: 1;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    &:focus{
        outline: none;
        border-color: #007bff;
    }
    &::placeholder{
        color: #ccc;
    }
}

.container button{
    padding: 5px 10px;
    background:linear-gradient(to right,skyblue, pink);
    color: #fff;
    border: none;
    border-radius: 5px;
}
.line{
    text-decoration: line-through;
}

.container{
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background:linear-gradient(to left,yellow, pink);  
}
.container h3{
    font-size: 24px;
    text-align: center;
}
.container .addtask{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.container .search{
    margin-top: 10px;
    margin-bottom: 10px;
}
.container .tasklist li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .footer{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #635b5b            ;
    font-size: 14px;
}
 /* 弹框的基础样式 */
 #editAlertBox {
    display: none; /* 默认隐藏 */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    z-index: 1000;
    text-align: center;
}
#editAlertBox button {
    margin-top: 10px;
}